package edu.sctu.xuping.month06.subwaysystem;

import java.util.ArrayList;
import java.util.List;


/**
 * 为乘客添加信息
 *
 * @author user16
 */
public class SetPeopleData {
    public List<PeopleInformation> setPeopleData() {
        List<PeopleInformation> list = new ArrayList<PeopleInformation>();
        PeopleInformation people = new PeopleInformation();
        people.setName("梅艳芳");
        people.setCardName("会员卡");
        people.setIs_Card(true);
        people.setIs_Package(true);
        people.setIs_Water(true);
        people.setNumber(1234);
        people.setNumberCard(15678);
        people.setPackageName("枪");
        people.setPice(10);
        people.setStartStation("茶店子");
        people.setWaterName("真果粒");
        people.setEndStation("龙泉驿");
        list.add(people);
        PeopleInformation people1 = new PeopleInformation();
        people1.setName("张国荣");
        people1.setCardName("普通卡");
        people1.setIs_Card(true);
        people1.setIs_Package(false);
        people1.setIs_Water(false);
        people1.setNumber(1235);
        people1.setNumberCard(15677);
        people1.setPackageName("书");
        people1.setPice(10);
        people1.setStartStation("茶店子");
        people1.setWaterName("谷粒多");
        people1.setEndStation("成渝立交");
        list.add(people1);
        PeopleInformation people2 = new PeopleInformation();
        people2.setName("李玲玉");
        people2.setCardName("会员卡");
        people2.setIs_Card(false);
        people2.setIs_Package(true);
        people2.setIs_Water(true);
        people2.setNumber(1236);
        people2.setNumberCard(15678);
        people2.setPackageName("");
        people2.setPice(10);
        people2.setStartStation("茶店子");
        people2.setWaterName("真果粒");
        people2.setEndStation("龙泉驿");
        list.add(people2);
        PeopleInformation people3 = new PeopleInformation();
        people3.setName("周立波");
        people3.setCardName("普通卡");
        people3.setIs_Card(true);
        people3.setIs_Package(false);
        people3.setIs_Water(false);
        people3.setNumber(1235);
        people3.setNumberCard(15677);
        people3.setPackageName("书");
        people3.setPice(2);
        people3.setStartStation("茶店子");
        people3.setWaterName("谷粒多");
        people3.setEndStation("成渝立交");
        list.add(people3);
        return list;
    }
}
